<template>
  <div id="chart" style="width:100%"></div>
</template>

<script>
export default {
  name: "Home",
  mounted() {
    this.$chart.Ladder("chart"); //方法调用
  },
 
};
</script>

<style scoped>
#chart {
  width: 100%;
  height: 100%;
}
</style>